Configuration for PIM is done for each interface. This chapter describes how to use the PIM configuration and operating commands and includes the following sections:
Use the following procedure to access the PIM configuration process.
* talk 6
Config>
After you enter the talk 6 command, the CONFIG prompt (Config>) displays on the terminal. If the prompt does not appear when you first enter configuration, press Return again.
To configure PIM, enter the commands at the PIM6 Config> prompt.
Table 72. PIM Configuration Command Summary
| Command | Function |
|---|---|
| ? (Help) | Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help". |
| delete | Deletes a PIM interface. |
| disable | Disables PIM on the device. |
| enable | Enables PIM on the device and sets global PIM default configuration values. |
| list | Lists the configuration. |
| set | Sets PIM configuration parameter values. |
| Exit | Returns you to the previous command level. See "Exiting a Lower Level Environment". |
Use the delete command to remove a configured PIM interface.
Syntax:
Example:
PIM6 Config> delete Interface address []?
Use the disable command to disable PIM on the device.
Syntax:
Use the enable command to enable PIM on the device and set global PIM default configuration values.
Syntax:
Use the list command to display the PIM configuration.
Syntax:
Example:
PIM config>list i
Hello State
Type IP Address Interval Holdtime
Physical 1:2:3:4:5::101 30 210
Example:
PIM config>list v
PIM Global Configuration Values
PIM: on
Graft Timeout: 3 seconds
Assert Timeout: 210 seconds
PIM config>
Example:
PIM config>list p
RIP FFFF Default FFFF
Direct FFFF Fixed FFFF
Filter FFFF
PIM config>
Use the set command to change PIM configuration parameter values. You can use this command to add a new physical interface.
Syntax:
Example:
PIM config>set interface Interface address []? Hello period [30]? Join Prune Hold Time [210]?
Valid Values: Any valid IPv6 address
Default Value: None
Valid Values: 1 - 65535
Default Value: 30
Valid Values: 1 - 65535
Default Value: 210
Routetype can specify the following route types:
Example:
PIM Config> set preference rip RIP Metric Preference (hex) [FFFF]?
Valid Values: A 4-digit hexadecimal value
Default Value: X'FFFF'
Example:
PIM config>set v cache_life Mcfwd cache Holdtime [60]
Valid Values: A numeric value greater than 0
Default Value: 60
Example:
PIM config>set v assert_tout PIM Assert Time Out [210]
Valid Values: 1 - 65535
Default Value: 210
Example:
PIM config>set v graft_tout PIM Graft Time Out [3]
Valid Values: 1 - 65535
Default Value: 3
Use the following procedure to access the PIM monitoring commands. This process gives you access to the PIM monitoring process.
* talk 5
+
After you enter the talk 5 command, the GWCON prompt (+) displays on the terminal. If the prompt does not appear when you first enter configuration, press Return again.
Example:
+ p pim
PIM>
This section describes the PIM monitoring commands.
Table 73. PIM Monitoring Command Summary
| Command | Function |
|---|---|
| ? (Help) | Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help". |
| dump | Displays routing tables. |
| clear | Clears the multicast forwarding table. |
| interface | Displays the status of the interface. |
| join | Joins a multicast group. |
| leave | Leaves a multicast group. |
| mcache | Displays currently active multicast forwarding table cache entries. |
| mgroups | Displays group membership of the device's attached interfaces. |
| mstats | Displays various multicast routing statistics. |
| neighbor | Displays information about current adjacencies. |
| pim | Displays the PIM state database. |
| summary pim | Displays a summary of the PIM state database. |
| ping | Dynamically pings an IPv6 address. |
| reset | Dynamically resets PIM. |
| traceroute | Dynamically traces a route. |
| variables | Displays the configuration values for PIM variables. |
| Exit | Returns you to the previous command level. See "Exiting a Lower Level Environment". |
Use the dump command to display the configured routing tables.
Syntax:
PIM6>dump
Type Dest net/Prefix Cost Age Next hop(s)
Fltr ::102:304/128 0 576 filter
Stat* 1:2:3:4:5:6:7:8/128 100 576 IP64/0
Stat* 3::4/128 1 576 IP64/1
IPv6 Routing table size: 768 nets (79872 bytes), 3 nets known
0 nets hidden, 0 nets deleted, 0 nets inactive
0 routes used internally, 765 routes free
PIM6>
Use the clear command to reset the cache.
Syntax:
PIM6>clear Mfwd Cache has been cleared! PIM6>
Use the interface command to display a summary of the statistics and parameters related to the interface.
Syntax:
PIM6>interface
PIM Interface Table
Hello State
IP Address Interval Holdtime Status Type
1:2:3:4:5:6::101 30 210 up TKR/0
1:2:5:6:7::102 30 210 up TKR/1
PIM6>
Use the join command to join a multicast group.
Syntax:
PIM6>join ff05:42::101
Use the leave command to leave a multicast group. This prevents the device from responding to pings and SNMP queries sent to the group address.
Syntax:
PIM6>leave ff05:42::101
Use the mcache command to display a list of currently active multicast cache entries. Multicast cache entries are built on demand, whenever the first matching multicast datagram is received. There is a separate cache entry (and therefore a separate route) for each datagram source network and destination group combination.
Syntax:
PIM6>mcache
0: TKR/0 1: TKR/1 2: TKR/2
3: IPPN/0 4: BDG/0 5: Internal
Prot Count Upstr Downstream
0:1:2::
FF05:42::101 PIM6 8 0 1,2
3:4:22::
FF05:42::102 PIM6 8 1 0
3:12:2::
FF05:33:4::120 PIM6 25 0 2
PIM6>
Use the mgroup command to display the group membership of the device's attached interfaces. Only the group membership for those interfaces on which the router is either designated router or backup designated router are displayed.
Syntax:
PIM6>mgroup
Local Group Database
Group Interface Lifetime (secs)
FF05:42::101 1:2:3:4::25 (TRK/0) 176
FF05:4:23::122 23:2:113::45:23 (Eth/1) 170
FF05:4:23::122 Internal 1
PIM6>
Use the mstats command to display various multicast routing statistics. The command indicates whether multicast routing is enabled and whether the router is an inter-area and/or inter-AS multicast forwarder.
Syntax:
PIM6>mstats Datagrams received: 2496 Datagrams fwd (multicast): 0 Datagrams fwd (unicast): 0 Locally delivered: 0 Unreachable source: 3 Unallocated cache entries: 0 Off multicast tree: 0 Unexpected DL multicast: 0 Buffer alloc failure: 0 TTL scoping: 0 # fwd cache alloc: 1 # fwd cache freed: 0 #fwd cache GC: 0 # local group DB alloc: 0 #local group DB free: 1 PIM6>
Use the neighbor command to display information about neighbor PIM devices and their adjacency status.
Syntax:
PIM6>neighbor
PIM Neighbor Listing
Last First
Neighbor Addr DR Heard Heard Ifc
9:4:3:101:2::123 NO 21 6139 Tkr/0
23:2:45:2::12:3:111 YES 29 6204 Tkr/1
PIM6>
Use the pim command to display the PIM state database.
Syntax:
PIM6>pim
PIM State Database
------------------
1) Group: FF05:2:3::121
1) Source: 9:1:2:3::12:101
1) Interface: 1 - PRUNE Lifetime (sec): 210
2) Group: FF05:2:3::121
2) Source: 9:1:2:3::12:101
2) Interface: 1 - PRUNE Lifetime (sec): 210
PIM6>
Use the summary pim command to display summary information about the PIM state database.
Syntax:
PIM6>s
Summary PIM State Database
--------------------------
0) Group: FF05:2:3::121
0) Source: 9:1:2:3::12:101
0) States: 1-P 2-P
PIM6>
Use the ping command to dynamically ping another destination IPv6 address.
Syntax:
PIM6>ping Destination IPv6 address [::]? 8::9 Source IPv6 Address [1::8]? Ping data size in bytes [56]? Ping TTL [64]? Ping rate in seconds [1]? PING6 1::8 -> 8::9: 56 data bytes, ttl=64, every 1 sec. ----8::9 PING6 Statistics---- 36 packets transmitted, 36 packets received
See "Ping6" for a description of the parameters.
Use the reset command to reset PIM and reload the configuration.
Syntax:
PIM6>reset
Use the traceroute command to dynamically trace a route.
Syntax:
IPv6>traceroute Destination IPv6 address []? 7::8 Source IPv6 address []? 6::9 Data size in bytes [56]? Number of probes per hop [3]? Wait time between retries in seconds [3]? Maximum TTL [32]? TRACEROUTE6 7::8: 56 data bytes 1 * * * * IPv6>
See "Traceroute6" for a description of the parameters.
Use the variables command to display information about the PIM configuration variables.
Syntax:
PIM6>v
PIM: on
Graft Timeout: 3 seconds
Assert Timeout: 210 seconds
PIM Unicast Metric Preferences (hex)
RIP FFFF Default FFFF
Direct FFFF Fixed FFFF
Filter FFFF
PIM6>